class Solution:
    def squareIsWhite(self, coordinates: str) -> bool:
        return (ord(coordinates[0]) + int(coordinates[1]))%2 == 1
        

if __name__ == '__main__':
    s = Solution()
    print(s.squareIsWhite('a1'))
    print(s.squareIsWhite('h1'))
    print(s.squareIsWhite('h3'))
    print(s.squareIsWhite('c7'))